Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CodeQuality] Deprecate MakeEntityDateTimePropertyDateTimeInterfaceRector #358

Merged
merged 3 commits into from
Dec 20, 2024

Conversation

samsonasik
Copy link
Member

Closes #356

@samsonasik
Copy link
Member Author

@TomasVotruba ready to merge 👍

@@ -25,6 +25,8 @@
* @see related to maker bundle https://symfony.com/doc/current/bundles/SymfonyMakerBundle/index.html
*
* @see \Rector\Doctrine\Tests\CodeQuality\Rector\Property\MakeEntityDateTimePropertyDateTimeInterfaceRector\MakeEntityDateTimePropertyDateTimeInterfaceRectorTest
*
* @deprecated see https://github.com/rectorphp/rector-doctrine/issues/356 for reasoning
*/
final class MakeEntityDateTimePropertyDateTimeInterfaceRector extends AbstractRector
Copy link
Member

@TomasVotruba TomasVotruba Dec 20, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should also implement DeprecatedInterface , that way Rector reports it when being run

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated to implements DeprecatedInterface 53c349e

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba let's merge 👍

@samsonasik samsonasik merged commit e29ed08 into main Dec 20, 2024
6 checks passed
@samsonasik samsonasik deleted the deprecate-make branch December 20, 2024 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MakeEntityDateTimePropertyDateTimeInterfaceRector is flawed
2 participants